#ifndef XLABEL_H
#define XLABEL_H

#include "XSystem/XWidget.h"

class XLabel : public XWidget
{
	public:
		XLabel(XResourcesManager *data, int positionX, int positionY, std::string text);
		void Draw();
		void CheckState(const sf::Input &input);

		void SetText(std::string text, bool isStatic);
		std::string GetText();

		void SetBackground(bool isBackground);
		void SetColor(sf::Color color);
		void SetShadow(bool isShadow);

		void SetAlign(std::string align);
		void SetPosition(int positionX, int positionY);

	protected:
		sf::String x_string;
		std::string x_text;

		bool x_background;
		sf::Shape x_backgroundShape;

		bool x_shadow;
		sf::String x_strings;

		int x_align;
};

#endif